<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen; http://apigen.org" />

	<title>Class Nette\Web\UriScript</title>

	<link rel="stylesheet" href="resources/style.css?v=2011071314" type="text/css" media="all" />
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link rel="search" href="opensearch.xml" type="application/opensearchdescription+xml" title="Nette Framework API documentation" />
	<script type="text/javascript" src="resources/combined.js"></script>
	<script type="text/javascript" src="allclasses.js"></script>
</head>

<body>
<div id="left">
	<a href="allclasses.html">All Classes</a>

	<h3>Namespaces</h3>
	<ul>
		<li><a href="namespace-none.html">none</a>
		</li>
		<li><a href="namespace-Nette.html">Nette</a>
		</li>
		<li><a href="namespace-Nette.Application.html">Nette\Application</a>
		</li>
		<li><a href="namespace-Nette.Caching.html">Nette\Caching</a>
		</li>
		<li><a href="namespace-Nette.Collections.html">Nette\Collections</a>
		</li>
		<li><a href="namespace-Nette.Config.html">Nette\Config</a>
		</li>
		<li><a href="namespace-Nette.Forms.html">Nette\Forms</a>
		</li>
		<li><a href="namespace-Nette.IO.html">Nette\IO</a>
		</li>
		<li><a href="namespace-Nette.Loaders.html">Nette\Loaders</a>
		</li>
		<li><a href="namespace-Nette.Mail.html">Nette\Mail</a>
		</li>
		<li><a href="namespace-Nette.Reflection.html">Nette\Reflection</a>
		</li>
		<li><a href="namespace-Nette.Security.html">Nette\Security</a>
		</li>
		<li><a href="namespace-Nette.Templates.html">Nette\Templates</a>
		</li>
		<li class="active"><a href="namespace-Nette.Web.html">Nette\Web</a>
		</li>
		<li><a href="namespace-PHP.html">PHP</a>
		</li>
	</ul>

	<hr />

	<h3>Classes</h3>

	<ul>
		<li><a href="Nette.Web.Ftp.html">Ftp</a></li>
		<li><a href="Nette.Web.Html.html">Html</a></li>
		<li><a href="Nette.Web.HttpContext.html">HttpContext</a></li>
		<li><a href="Nette.Web.HttpRequest.html">HttpRequest</a></li>
		<li><a href="Nette.Web.HttpResponse.html">HttpResponse</a></li>
		<li><a href="Nette.Web.HttpUploadedFile.html">HttpUploadedFile</a></li>
		<li><a href="Nette.Web.Session.html">Session</a></li>
		<li><a href="Nette.Web.SessionNamespace.html">SessionNamespace</a></li>
		<li><a href="Nette.Web.Uri.html">Uri</a></li>
		<li class="active"><a href="Nette.Web.UriScript.html">UriScript</a></li>
		<li><a href="Nette.Web.User.html">User</a></li>
	</ul>

	<h3>Interfaces</h3>

	<ul>
		<li><a href="Nette.Web.IHttpRequest.html">IHttpRequest</a></li>
		<li><a href="Nette.Web.IHttpResponse.html">IHttpResponse</a></li>
		<li><a href="Nette.Web.IUser.html">IUser</a></li>
	</ul>

	<h3>Exceptions</h3>

	<ul>
		<li><a href="Nette.Web.FtpException.html">FtpException</a></li>
	</ul>
</div>

<div id="right">
	<form action="http://www.google.com/cse" id="search" onsubmit="if(this.q.value.indexOf('more:')==-1)this.q.value+=' more:api'">
		<input type="hidden" name="cx" value="011549293477758430224:vxofa9ufnhc" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" class="text" /><input type="submit" value="Search" />
	</form>

<div id="navigation">
	<ul>
		<li><a href="overview.html" title="Summary of all namespaces">Overview</a></li>
		<li><a href="namespace-Nette.Web.html" title="Summary of Nette\Web">Namespace</a></li>
		<li class="active">Class</li>
		<li><a href="elements.html">Elements</a></li>
	</ul>
</div>

<div id="content">
	<div id="classSummary">
		<p>namespace <a href="namespace-Nette.Web.html">Nette\Web</a></p>

		<h1>Class UriScript</h1>

		<div class="classDescription">
		
<p>Extended HTTP URL.</p>

<pre>
                basePath   relativeUri
                   |           |
                /-----\/------------------\
http://nette.org/admin/script.php/pathinfo/?name=param#fragment
                \_______________/\________/
                       |              |
                  scriptPath       pathInfo
</pre>

<ul>
	<li>basePath: /admin/ (everything before relative URI not including the
	script name)</li>

	<li>baseUri: <a href="http://nette.org/admin/">http://nette.org/admin/</a></li>

	<li>scriptPath: /admin/script.php</li>

	<li>relativeUri: script.php/pathinfo/</li>

	<li>pathInfo: /pathinfo/ (additional path information)</li>
</ul>

		</div>

		<dl class="tree">
			<dd style="padding-left:0px">
				<a href="Nette.Object.html">Nette\Object</a>
				
			</dd>
			<dd style="padding-left:30px">
				<img src="resources/inherit.gif" alt="extended by" />
				<a href="Nette.FreezableObject.html">Nette\FreezableObject</a>
				
			</dd>
			<dd style="padding-left:60px">
				<img src="resources/inherit.gif" alt="extended by" />
				<a href="Nette.Web.Uri.html">Nette\Web\Uri</a>
				
			</dd>
			<dd style="padding-left:90px">
				<img src="resources/inherit.gif" alt="extended by" />
<b>Nette\Web\UriScript</b>				
			</dd>
		</dl>



		<div class="classInfo">
			
				<b>Author:</b> David Grudl<br />
			<b>Located at</b> <a href="source-Web.UriScript.php.html#18">/Web/UriScript.php</a><br />
		</div>
	</div>


	<div id="methodSummary">
		<table class="summary">
		<caption>Method Summary</caption>
		<tr data-order="1 setScriptPath" id="_setScriptPath">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.UriScript.html">UriScript</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setScriptPath">#</a>
			<code class="nowrap">
				<a href="source-Web.UriScript.php.html#52" title="go to source code"><b>setScriptPath</b></a>(
					string
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Sets the script-path part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Sets the script-path part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.UriScript.html">UriScript</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getScriptPath" id="_getScriptPath">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getScriptPath">#</a>
			<code class="nowrap">
				<a href="source-Web.UriScript.php.html#66" title="go to source code"><b>getScriptPath</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the script-path part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the script-path part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getBasePath" id="_getBasePath">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getBasePath">#</a>
			<code class="nowrap">
				<a href="source-Web.UriScript.php.html#77" title="go to source code"><b>getBasePath</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the base-path.</p>

			</div>

			<div class="detailed">
				
<p>Returns the base-path.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getBaseUri" id="_getBaseUri">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getBaseUri">#</a>
			<code class="nowrap">
				<a href="source-Web.UriScript.php.html#88" title="go to source code"><b>getBaseUri</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the base-URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the base-URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getRelativeUri" id="_getRelativeUri">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getRelativeUri">#</a>
			<code class="nowrap">
				<a href="source-Web.UriScript.php.html#99" title="go to source code"><b>getRelativeUri</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the relative-URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the relative-URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getPathInfo" id="_getPathInfo">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getPathInfo">#</a>
			<code class="nowrap">
				<a href="source-Web.UriScript.php.html#110" title="go to source code"><b>getPathInfo</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the additional path information.</p>

			</div>

			<div class="detailed">
				
<p>Returns the additional path information.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>

		</table>
	</div>


	<h2>Methods Inherited From <a href="Nette.Web.Uri.html#methodSummary">Uri</a></h2>
	<div class="box"><code>
		<a href="Nette.Web.Uri.html#___construct">__construct()</a>, <a href="Nette.Web.Uri.html#_setScheme">setScheme()</a>, <a href="Nette.Web.Uri.html#_getScheme">getScheme()</a>, <a href="Nette.Web.Uri.html#_setUser">setUser()</a>, <a href="Nette.Web.Uri.html#_getUser">getUser()</a>, <a href="Nette.Web.Uri.html#_setPassword">setPassword()</a>, <a href="Nette.Web.Uri.html#_getPassword">getPassword()</a>, <a href="Nette.Web.Uri.html#_setPass" class="deprecated">setPass()</a>, <a href="Nette.Web.Uri.html#_getPass" class="deprecated">getPass()</a>, <a href="Nette.Web.Uri.html#_setHost">setHost()</a>, <a href="Nette.Web.Uri.html#_getHost">getHost()</a>, <a href="Nette.Web.Uri.html#_setPort">setPort()</a>, <a href="Nette.Web.Uri.html#_getPort">getPort()</a>, <a href="Nette.Web.Uri.html#_setPath">setPath()</a>, <a href="Nette.Web.Uri.html#_getPath">getPath()</a>, <a href="Nette.Web.Uri.html#_setQuery">setQuery()</a>, <a href="Nette.Web.Uri.html#_appendQuery">appendQuery()</a>, <a href="Nette.Web.Uri.html#_getQuery">getQuery()</a>, <a href="Nette.Web.Uri.html#_setFragment">setFragment()</a>, <a href="Nette.Web.Uri.html#_getFragment">getFragment()</a>, <a href="Nette.Web.Uri.html#_getAbsoluteUri">getAbsoluteUri()</a>, <a href="Nette.Web.Uri.html#_getAuthority">getAuthority()</a>, <a href="Nette.Web.Uri.html#_getHostUri">getHostUri()</a>, <a href="Nette.Web.Uri.html#_isEqual">isEqual()</a>, <a href="Nette.Web.Uri.html#_canonicalize">canonicalize()</a>, <a href="Nette.Web.Uri.html#___toString">__toString()</a>, <a href="Nette.Web.Uri.html#_unescape">unescape()</a>
	</code></div>
	<h2>Methods Inherited From <a href="Nette.FreezableObject.html#methodSummary">Nette\FreezableObject</a></h2>
	<div class="box"><code>
		<a href="Nette.FreezableObject.html#_freeze">freeze()</a>, <a href="Nette.FreezableObject.html#_isFrozen">isFrozen()</a>, <a href="Nette.FreezableObject.html#___clone">__clone()</a>, <a href="Nette.FreezableObject.html#_updating">updating()</a>
	</code></div>
	<h2>Methods Inherited From <a href="Nette.Object.html#methodSummary">Nette\Object</a></h2>
	<div class="box"><code>
		<a href="Nette.Object.html#_getClass" class="deprecated">getClass()</a>, <a href="Nette.Object.html#_getReflection">getReflection()</a>, <a href="Nette.Object.html#___call">__call()</a>, <a href="Nette.Object.html#___callStatic">__callStatic()</a>, <a href="Nette.Object.html#_extensionMethod">extensionMethod()</a>, <a href="Nette.Object.html#___get">__get()</a>, <a href="Nette.Object.html#___set">__set()</a>, <a href="Nette.Object.html#___isset">__isset()</a>, <a href="Nette.Object.html#___unset">__unset()</a>
	</code></div>






	<h2>Properties Inherited From <a href="Nette.Web.Uri.html#propertySummary">Uri</a></h2>
	<div class="box"><code><var>$defaultPorts</var></code></div>

</div>

	<div id="footer">
		Nette Framework API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</body>
</html>
